import request from '@/utils/request'

// 查询余额记录列表
export function listAppBalanceLog(query) {
  return request({
    url: '/system/appBalanceLog/list',
    method: 'get',
    params: query
  })
}

// 查询余额记录详细
export function getAppBalanceLog(id) {
  return request({
    url: '/system/appBalanceLog/' + id,
    method: 'get'
  })
}

// 新增余额记录
export function addAppBalanceLog(data) {
  return request({
    url: '/system/appBalanceLog',
    method: 'post',
    data: data
  })
}

// 修改余额记录
export function updateAppBalanceLog(data) {
  return request({
    url: '/system/appBalanceLog',
    method: 'put',
    data: data
  })
}

// 删除余额记录
export function delAppBalanceLog(id) {
  return request({
    url: '/system/appBalanceLog/' + id,
    method: 'delete'
  })
}
